<%@page contentType="text/html; charset=utf-8"%>
<%@ include file="../inc/TagLibs.jsp"%>
<c:set var="pageTitle" value="管理易APP手机客户端" />
<%@ include file="../inc/Title.jsp"%>
<head>
<link rel="stylesheet" type="text/css" href="/css/base.css" />
<script language="javascript">
	function doBarcode(){
		var currentTime=new Date();
		window.location="GetAppBarcode.ihtm?url_str="+encodeURIComponent(document.getElementById("url_str").value)+"&random="+currentTime.getTime();
	}
</script>
</head>
<body class="sheet" style="text-align:center;">
<div class="sheet-main" style="width:460px;text-align:left;margin:auto;">
  <div class="sheet-top">
    <div class="content">
      <h2>管理易APP手机客户端</h2>
      <p>本APP是为用户提供的增值应用，在升级服务期内都可以免费使用。首先录入服务器地址，例如${urlStr}，点击生成二维码，然后就可以用手机扫码下载安装。</p>
    </div>
  </div>
  <div class="sheet-list">
    <div class="search-business">
	     <div class="table-list">
			 <table width="100%">
				<tr>
					<td style="text-align:center;height:30">
						服务器地址：
						<input type="input" class="TextBox" style="width:200px" id="url_str" name="url_str" value="${urlStr}">
						<input type="button" class="buttom-a" value=" 生成二维码 " onClick="doBarcode();">
					</td>
				</tr>
				<tr>
					<td style="text-align:center;height:280">
						<c:if test="${barcode!=null}">
						<script language="javascript">
							var currentTime=new Date();
							var fn="${barcode}?random="+currentTime.getTime();
							document.write("<img width='256' src='"+fn+"'>");
						</script>
						</c:if>
						<br>
						<a href="http://www.ekingcn.com/school/s1_1667_280.html" target="_blank">如何生成二维码并且扫码安装APP<img src="/images/play_button.gif"></a>
					</td>
				</tr>
			 </table>
		 </div>  
	   </div>  
  </div>
</div>
</body>
</html>